package service;




import com.xgggh.redpack.domain.auth.Profile;
import com.xgggh.redpack.domain.wallet.Wallet;

import io.reactivex.Flowable;
import model.Rsp;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.PATCH;
import retrofit2.http.PUT;

public interface WalletService {



    @GET("wallet/")
    Flowable<Rsp<Wallet>> getWallet();


    @PUT("wallet/update")
    Flowable<Rsp<Profile>> putWallet(@Body Wallet wallet);


}
